

const toastfn = (res)=>{
  my.showToast({
      content: res,
      duration: 3000,
      success: () => {
       
      },
  });
}
const isPositiveInteger=(s)=>{
     var re = /^[0-9]+$/ ;
     return re.test(s)
  }
export {
    toastfn,
    isPositiveInteger,
}
